Dynomotion

Group: DynoMotion Message: 8788 From: Adol Date: 12/12/2013
Subject: Help with feed rat pot
Hi to everybody, please can someone tell me how can i do to modify the feed rate override (FRO) using an encoder (20 pulses/rev) instead of kanalog+pot??

i try to understanding with the SetFROwithPot.c example but.. i can´t achieve (i´m a total newbie in c programming)

thanks a lot!
Group: DynoMotion Message: 8791 From: Tom Kerekes Date: 12/12/2013
Subject: Re: Help with feed rat pot
Hi Adol,

I tried to make the changes for you.  See attached.  Try it and let us know.

Regards
TK

Group: DynoMotion Message: 8792 From: Adol Date: 12/13/2013
Subject: Re: Help with feed rat pot [1 Attachment]
thank you very much Tom! I would never have achieved this kind of program

ok, about the program works:
i can move the FRO bar, but it´s not linear, jump from 0.1 to 0.86 with only one click of encoder, and if i turn the encoder to the min (0.1) and i continue in the same direction,  jump random manner to 0.29

and only one thing more, the FRO change quickly in the screen, but the real motion spend about 9sg to update, it´s normal?

thanks a lot for all your help and efforts
Adol


2013/12/13 Tom Kerekes <tk@...>
 
[Attachment(s) from Tom Kerekes included below]

Hi Adol,

I tried to make the changes for you.  See attached.  Try it and let us know.

Regards
TK

Group: DynoMotion Message: 8795 From: Tom Kerekes Date: 12/14/2013
Subject: Re: Help with feed rat pot
Hi Adol,

I don't know why it would jump from 0.1 to 0.86 with one click.  But try the attached program I made some improvements.  It doesn't sound like your encoder is very noisy so I reduced the amount it has to change to update from 5 clicks to 1 click. 

Actually the previous was linear but the new one is logarithmic like the slider.

There is some FRO delay because of the Windows Buffering.  What is yours set to in the Trajectory Planner?  If you can use 1 second then there should only be about 1 second of delay.  But if Windows ever freezes for more than 1 second you will get a Buffer Under run Error.

Regards
TK

Group: DynoMotion Message: 8798 From: Adol Date: 12/15/2013
Subject: Re: Help with feed rat pot [1 Attachment]
Hi Tom
this next version work very similar to the previus version, this is the encoder i´m using

the slider on the screen have 20 mark, but with only 4 step of the encoder i cover all the rang (0.1-0.33-1.1-2) the look ahead parameter it set to 3sg

thanks for your efforts
regards


2013/12/15 Tom Kerekes <tk@...>
 
[Attachment(s) from Tom Kerekes included below]

Hi Adol,

I don't know why it would jump from 0.1 to 0.86 with one click.  But try the attached program I made some improvements.  It doesn't sound like your encoder is very noisy so I reduced the amount it has to change to update from 5 clicks to 1 click. 

Actually the previous was linear but the new one is logarithmic like the slider.

There is some FRO delay because of the Windows Buffering.  What is yours set to in the Trajectory Planner?  If you can use 1 second then there should only be about 1 second of delay.  But if Windows ever freezes for more than 1 second you will get a Buffer Under run Error.

Regards
TK

Group: DynoMotion Message: 8799 From: TK Date: 12/15/2013
Subject: Re: Help with feed rat pot
Hi Adol,

Strange. As you rotate your encoder how does the Position on the Axis Screen change?  Does it change by more than one at a time?  Do you have an InputGain0 of other than 1?

Have you tried 1 second look ahead?

Regards
TK

On Dec 15, 2013, at 8:32 AM, Adol <adolfoya@...> wrote:

 

Hi Tom
this next version work very similar to the previus version, this is the encoder i´m using

the slider on the screen have 20 mark, but with only 4 step of the encoder i cover all the rang (0.1-0.33-1.1-2) the look ahead parameter it set to 3sg

thanks for your efforts
regards


2013/12/15 Tom Kerekes <tk@...>
 
[Attachment(s) from Tom Kerekes included below]

Hi Adol,

I don't know why it would jump from 0.1 to 0.86 with one click.  But try the attached program I made some improvements.  It doesn't sound like your encoder is very noisy so I reduced the amount it has to change to update from 5 clicks to 1 click. 

Actually the previous was linear but the new one is logarithmic like the slider.

There is some FRO delay because of the Windows Buffering.  What is yours set to in the Trajectory Planner?  If you can use 1 second then there should only be about 1 second of delay.  But if Windows ever freezes for more than 1 second you will get a Buffer Under run Error.

Regards
TK

Group: DynoMotion Message: 8800 From: Adol Date: 12/16/2013
Subject: Re: Help with feed rat pot
Hi Tom
...I'm a donkey... you are right, i was using a channel from another axis previously set up with a linear glass... InputGain0=9.85.. sorry
 i have changed the look ahead to 1 and now the response is more accurate, and works fine

thanks a lot!
best regards


2013/12/15 TK <tk@...>
 

Hi Adol,

Strange. As you rotate your encoder how does the Position on the Axis Screen change?  Does it change by more than one at a time?  Do you have an InputGain0 of other than 1?

Have you tried 1 second look ahead?

Regards
TK

On Dec 15, 2013, at 8:32 AM, Adol <adolfoya@...> wrote:

 

Hi Tom
this next version work very similar to the previus version, this is the encoder i´m using

the slider on the screen have 20 mark, but with only 4 step of the encoder i cover all the rang (0.1-0.33-1.1-2) the look ahead parameter it set to 3sg

thanks for your efforts
regards


2013/12/15 Tom Kerekes <tk@...>
 
[Attachment(s) from Tom Kerekes included below]

Hi Adol,

I don't know why it would jump from 0.1 to 0.86 with one click.  But try the attached program I made some improvements.  It doesn't sound like your encoder is very noisy so I reduced the amount it has to change to update from 5 clicks to 1 click. 

Actually the previous was linear but the new one is logarithmic like the slider.

There is some FRO delay because of the Windows Buffering.  What is yours set to in the Trajectory Planner?  If you can use 1 second then there should only be about 1 second of delay.  But if Windows ever freezes for more than 1 second you will get a Buffer Under run Error.

Regards
TK